package cn.ys;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

/**
 * Hello world!
 *
 */
@SpringBootApplication
@MapperScan("cn.ys.*.mapper")
@ServletComponentScan(value = {"cn.ys.base.listener"})
public class App {
    public static void main( String[] args ) {
        SpringApplication.run(App.class);
    }
}
